package com.atguigu.service;

import com.atguigu.entity.Role;

import java.util.List;
import java.util.Map;

public interface RoleService extends BaseService<Role>{
    List<Role> findAll();
    Map<String,Object>  findRolesByAdminId(Long adminId);

    void assignRole(Long adminId, Long[] roleIds);
}
